/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ejb;

import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author sp116900
 */
@Local
public interface VideogameFacadeLocal {

    void create(Videogame videogame);

    void edit(Videogame videogame);

    void remove(Videogame videogame);

    Videogame find(Object id);

    List<Videogame> findAll();

    List<Videogame> findRange(int[] range);

    int count();

    public boolean videogameEsistente(Videogame vid);

    public List<Videogame> getVideogames();

    public Videogame getVideogame(Long id);

    public List<Videogame> findVideogames(String vid);
    
}
